package com.jkhan.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 电影信息表
 * </p>
 *
 * @author jkhan
 * @since 2023-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_movie")
@ApiModel(value="Movie对象", description="电影信息表")
public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "电影编号")
    private String movieId;

    @ApiModelProperty(value = "电影名")
    private String movieName;

    @ApiModelProperty(value = "发行单位")
    private String publisher;

    @ApiModelProperty(value = "时长")
    private Integer duration;


}
